<template>
  <a-config-provider :locale="locale">
    <router-view></router-view>
  </a-config-provider>
</template>
<script lang="ts">
import { ConfigProvider } from "ant-design-vue";
import zhCN from "ant-design-vue/es/locale/zh_CN";

export default {
  components: {
    [ConfigProvider.name]: ConfigProvider
  },
  setup() {
    return {
      locale: zhCN
    };
  }
};
</script>

<style scoped></style>
